package com.rightsidetech.system.mapper;

import com.rightsidetech.system.dtos.response.SysDicDIcInfoResp;
import com.rightsidetech.system.dtos.response.SysDicDIcNameResp;
import com.rightsidetech.system.entity.SysDic;

import java.util.List;

public interface SysDicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysDic record);

    int insertSelective(SysDic record);

    SysDic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDic record);

    int updateByPrimaryKey(SysDic record);

    List<SysDicDIcNameResp> selectByParentRule();

    List<SysDicDIcNameResp> parentRuleInfo(String dicType);

    SysDic selectRuleByCode(String dicCode);

    List<SysDicDIcInfoResp> selectRuleInfo(Long dicId);

    List<SysDicDIcInfoResp> selectJFRuleInfo(Long dicId);
}